Repository navigation
docs(agents): hand worker validation to CI - #5103
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
Review completed against the latest diff
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
…to the worker handoff Restores docs/agents from main and keeps only the worker handoff, the owner-first routing, and the maintainer label on the pre-push gate. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This comment has been minimized.
This comment has been minimized.
|
The PR is ready at 7be6556. Not blocking: these can be taken or left: scope the local commands in docs/agents/testing.md:5 to non-delegated tasks, since the other local-run steps there and in the pull request and device verification docs still read as applying to everyone; keep "Wait for a live owner to finish" and "Do not remove the lock manually" in that file, as the removal at AGENTS.md:56 drops the second rule from the docs checked; restore the "Before you push" condition at docs/agents/testing.md:6 as one instruction (commit first, if the task is not delegated); put a condition on "Push the change" and reword "To write a test" as "If you write a test" from AGENTS.md:11, so tasks that must not publish do not push; and restore "Apple runner or device-facing changes" in the routing row at AGENTS.md:37 (or move the definition into the pull request doc), so the device-facing definition still has an instruction attached. CI is green, including the "Ownership and context budgets" check that covers both changed files. Nothing blocks the merge. |
…the lock rules Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Apex Sentinel · ✅ Approve · review of
|
| Command | What it does |
|---|---|
@apex-sentinel-staging note <context> |
Adds context; Sentinel re-checks the cited code |
@apex-sentinel-staging pivot <why> |
Says the finding is wrong; Sentinel re-checks the cited code |
@apex-sentinel-staging like |
Marks the finding as useful |
@apex-sentinel-staging dislike <why> |
Marks it as not useful, so it is not raised again |
On this conversation, comment @apex-sentinel-staging review to run a full review once again.
Summary
Delegated workers spent most of their time on local setup and validation that CI repeats. Across seven worker threads (45–90 min each), about 79 minutes went to local gates, project-wide unit runs and coverage, and about 132 more to diagnosing and rerunning them. AGENTS.md and testing.md told every agent to run
check:affectedbefore a push and to build each new worktree, which overrode briefs that gave validation to CI.This adds a worker handoff to AGENTS.md: for a delegated task CI owns validation, a worker runs at most the test file it writes, pushes, reports the head SHA with checks pending, and does not wait for CI. Routing starts at the owner the task names. The pre-push gate in testing.md is labelled as a maintainer step. The maintainer validation docs are otherwise unchanged.
Before / after
No observable change: agent docs only.
Validation
Docs only; no runtime tests apply. The agent-guidance budget test passes locally. CI pending.
🤖 Generated with Claude Code